﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace MSCacheSample.Infrastructure
{
    [AttributeUsage( AttributeTargets.Method,AllowMultiple =false,Inherited =false)]
    public class MemoryCachingAttribute
        :Attribute
    {
        public DateTimeOffset ExpireTime { get; set; } = DateTimeOffset.Now.AddSeconds(30);
    }
}
